package com.liu.service.intf;


import com.liu.entity.Notice;
import com.liu.vo.PageBean;
import com.liu.vo.R;

import javax.servlet.http.HttpSession;

public interface NoticeService {
    //新增
    R save(Notice notice);

    //查询
    PageBean queryPage(int page, int limit);
    //删除
    R del(Integer id);
    //修改
    R update(Notice notice);
    //查询 条件
    PageBean queryPageWhere(Integer id, int page, int limit);
    //批量删除
    R delBatch(int[] ids);

    R login(Notice notice, HttpSession session);


}